Sorts := $(wildcard *.c)
Outs := $(Sorts:%.c=%.o)

client:$(Outs)
	gcc $^ -o $@ -lpthread
%.o:%.c
	gcc -c $^ -o $@ -g
ALL:$(Outs)

.PHONY: clean rebuild  ALL

clean:
	$(RM) $(Outs)client

rebuild: clean ALL


